﻿using System;
using System.Runtime.Serialization;

namespace Ping.Core
{
	[DataContract]
	public abstract class Request
		: Data
	{
		/// <summary>
		/// The amount of time until a timeout occurs.
		/// </summary>
		[DataMember] public TimeSpan Timeout;

		protected Request()
		{
			Timeout = TimeSpan.FromSeconds(1);
		}
	}
}